class BeanInformationCategory {
  List<DataListBean> list;

  BeanInformationCategory({this.list});

  factory BeanInformationCategory.fromJson(List<dynamic> listJson) {
    List<DataListBean> list =
    listJson.map((value) => DataListBean.fromJson(value)).toList();
    return BeanInformationCategory(list: list);
  }

}

class DataListBean {
  String categoryName;
  String categoryId;

  DataListBean({this.categoryName, this.categoryId});

  DataListBean.fromJson(Map<String, dynamic> json) {    
    this.categoryName = json['categoryName'];
    this.categoryId = json['categoryId'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['categoryName'] = this.categoryName;
    data['categoryId'] = this.categoryId;
    return data;
  }
}
